//获取小程序首页列表
export function getBannerList () {
  return window.fetch({
    method: 'POST',
    url: '/banner/list',
  })
}
//获取小程序首页新增编辑
export function updateBanner (data) {
  return window.fetch({
    method: 'POST',
    url: '/banner/add',
    data
  })
}
//获取小程序首页删除
export function deleteBanner (data) {
  return window.fetch({
    method: 'POST',
    url: '/banner/delete',
    data
  })
}
//  banner酒店列表
export function getHotelBannerList (data) {
  return window.fetch({
    method: 'POST',
    url: '/banner/hotel/list',
    data
  })
}
//  banner酒店编辑 
export function updateHotelBanner (data) {
  return window.fetch({
    method: 'POST',
    url: '/banner/hotel/redact',
    data
  })
}
//  banner酒店删除
export function deteletHotelBanner (data) {
  return window.fetch({
    method: 'POST',
    url: '/banner/hotel/delete',
    data
  })
}